100
How can I remove a bookmark
Edit1->Bookmark[2] = true;
Edit1->Bookmark[2] = false;
Edit1->BookmarkWidth = 16;

99
How can I remove all bookmarks
Edit1->Bookmark[2] = true;
Edit1->Bookmark[4] = true;
Edit1->BookmarkWidth = 16;
Edit1->ClearBookmarks();

98
How can I add a bookmark

Edit1->Bookmark[2] = true;
Edit1->Bookmark[4] = true;
Edit1->BookmarkWidth = 16;

97
How can I change the format to display the numbers

Edit1->FormatNumbers = L"<b><fgcolor=FF0000> </fgcolor></b>";
Edit1->InsertText(L"Just numbers: 12 22\\r\\n",TVariant(1));

96
Is there any option to change the color for the line that displays the cursor or the caret

Edit1->BackColorCaretLine = RGB(255,0,0);

95
Can I display the lines using an alternate color

Edit1->BackColorAlternate = RGB(255,0,0);

94
How can I disable or enable displaying the Replace dialog
Edit1->AllowReplace = false;

93
Does your control support incrementasl search

Edit1->AllowIncrementalSearch = true;

92
How can I programmatically find or search for a word only
Edit1->HideSelection = false;
Edit1->Find(L"IDD_DIALOG_INSTALL",Exeditlib_tlb::FindOptionEnum::exMatchWholeWordOnly);

91
How can I programmatically find or search for a string

Edit1->HideSelection = false;
Edit1->Find(L"public",Exeditlib_tlb::FindOptionEnum::exSearchDown);

90
How can I disable or enabled the Find dialog
Edit1->AllowFind = false;

89
How can I enable my button as the control can perform an REDO operation

bool var_CanRedo = Edit1->CanRedo;

88
How can I enable my button as the control can perform an UNDO operation
bool var_CanUndo = Edit1->CanUndo;

87
How can I disable or enable the undo-redo feature

Edit1->AllowUndoRedo = false;

86
How can I change the color for the border where the line numbers are displayed

Edit1->LineNumberForeColor = RGB(255,0,0);
Edit1->LineNumberBackColor = RGB(0,0,255);
Edit1->LineNumberWidth = 32;

85
How can I change the color of the bookmark border

Edit1->BookMarkBackColor = RGB(255,0,0);
Edit1->BookMarkBackColor2 = RGB(255,0,0);
Edit1->BookmarkWidth = 16;

84
How can I refresh the control

Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();

83
How can I change the size of the tabs characters

Edit1->TabLength = 8;

82
I've seen that if I press CTRL + ( I get the matching braket. How can I extend this
Edit1->OpenBrackets = L"<";
Edit1->CloseBrackets = L">";

81
How can I hide the selection
Edit1->DisplaySelection = false;

80
How can I display both scroll bars

Edit1->ScrollBars = Exeditlib_tlb::ScrollBarsEnum::exBoth;

79
How can I display only the vertical scroll bar

Edit1->ScrollBars = Exeditlib_tlb::ScrollBarsEnum::exVertical;

78
How can I display only the horizontal scroll bar

Edit1->ScrollBars = Exeditlib_tlb::ScrollBarsEnum::exHorizontal;

77
How can I hide the control's scroll bars

Edit1->ScrollBars = Exeditlib_tlb::ScrollBarsEnum::exNoScroll;

76
How can I insert at specified position a new line

Edit1->InsertText(L"newline\\r\\n",TVariant(2));
Edit1->BackColorLine[2] = RGB(255,0,0);

75
How can I remove or delete all lines
Edit1->Text = L"";

74
How can I remove or delete a line

Edit1->DeleteLine(1);

73
How do I change the character where the caret or the cursor is displayed
Edit1->CaretPos = 10;

72
How do I change the line where the caret or the cursor is displayed
Edit1->CaretLine = 10;

71
How do I replace a line

Edit1->TextLine[1] = L"new line";

70
How do I get a line
Edit1->TextLine[1] = L"new line";

69
How do I get the number of lines in the control
long var_Count = Edit1->Count;

68
How do I get the point where the selection starts

Edit1->SelStart = 4;
Edit1->SelLength = 10;
Edit1->HideSelection = false;

67
How do I get the number of selected characters

Edit1->SelLength = 10;
Edit1->HideSelection = false;

66
How can I get the selected text
Edit1->SelLength = 10;
String var_SelText = Edit1->SelText;

65
How can I replace the selected text

Edit1->SelLength = 10;
Edit1->SelText = L"-new selection-";

64
How can I avoid changing the colors for keywords or expressions

Edit1->ApplyColors = false;
Edit1->AddKeyword(L"<fgcolor=FF0000><b>class</b></fgcolor>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();

63
How can I display HTML text

Edit1->EditType = Exeditlib_tlb::EditTypeEnum::exHTML;
Edit1->Text = L"<b>just a HTML text</b>\\r\\nnew <s>line</s>";

62
How can I use it a a simple edit control, without highlighting

Edit1->EditType = Exeditlib_tlb::EditTypeEnum::exStandard;

57
How can I display only a single line
Edit1->MultiLine = false;

56
How can I disable displaying multiple lines
Edit1->MultiLine = false;

55
How can change the color for selected text

Edit1->HideSelection = false;
Edit1->SelLength = 10;
Edit1->SelBackColor = RGB(255,0,0);

54
How can change the color for selected text

Edit1->HideSelection = false;
Edit1->SelLength = 10;
Edit1->SelForeColor = RGB(255,0,0);

53
How can I disable displaying the control's context menu
Edit1->AllowContextMenu = false;

52
Is there any option to hide the caret or the cursor
Edit1->ShowCaret = false;

51
How can still display the selected text when the control loses the focus

Edit1->HideSelection = false;
Edit1->SelLength = 10;

50
How can I disable adding new TAB characters when the user enters a new line
Edit1->AutoIndent = false;

49
How can I disable using the Tab key
Edit1->UseTabKey = false;

48
How can I hide the number of each line
Edit1->LineNumberWidth = 0;

47
How can I display or show the number of each line

Edit1->LineNumberWidth = 32;

46
How can I clear the text
Edit1->Text = L"";

45
How can I specify the text being displayed in the control

Edit1->Text = L"new line\\r\\nnew line";

44
How can I hide the bookmark border
Edit1->BookmarkWidth = 0;

43
How can I show the bookmark border

Edit1->BookmarkWidth = 16;

42
How do I lock the control

Edit1->Locked = true;

41
How do I disable or enable the control
Edit1->Enabled = false;

40
How can I change the visual appearance of the splitter

Edit1->AllowSplitter = Exeditlib_tlb::SplitterEnum::exBothSplitter;
Edit1->SplitPaneWidth = 128;
Edit1->SplitPaneHeight = 128;
Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSplitterApp] = 0x1000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSplitterApp] = 0x1000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exISplitterApp] = 0x2000000;

39
How can I change the visual appearance of the vertical splitter

Edit1->AllowSplitter = Exeditlib_tlb::SplitterEnum::exBothSplitter;
Edit1->SplitPaneWidth = 128;
Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSplitterApp] = 0x1000000;

38
How can I change the visual appearance of the horizontal splitter

Edit1->AllowSplitter = Exeditlib_tlb::SplitterEnum::exBothSplitter;
Edit1->SplitPaneHeight = 128;
Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSplitterApp] = 0x1000000;

37
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Edit1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSThumb] = 0x1000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSThumbP] = 0x2000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSThumbH] = 0x3000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSThumb] = 0x1000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSThumbP] = 0x2000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSThumbH] = 0x3000000;

36
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Edit1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSThumb] = 0x1000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSThumbP] = 0x2000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSThumbH] = 0x3000000;
Edit1->ScrollThumbSize[Exeditlib_tlb::ScrollBarEnum::exHScroll] = 96;

35
I've seen that you can change the visual appearance for the scroll bar. How can I do that

Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Edit1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exSBtn] = 0x1000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exSBtnP] = 0x2000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exSBtnH] = 0x3000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSBack] = RGB(240,240,240);
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSBack] = RGB(240,240,240);
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exSizeGrip] = RGB(240,240,240);

34
Can I change the forecolor for the tooltip

Edit1->ToolTipDelay = 1;
Edit1->ToolTipWidth = 364;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exToolTipForeColor] = RGB(255,0,0);
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();

33
Can I change the background color for the tooltip

Edit1->ToolTipDelay = 1;
Edit1->ToolTipWidth = 364;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exToolTipBackColor] = RGB(255,0,0);
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();

32
Can I change the default border of the tooltip, using your EBN files

Edit1->ToolTipDelay = 1;
Edit1->ToolTipWidth = 364;
Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exToolTipAppearance] = 0x1000000;
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();

31
How do I call your x-script language

Edit1->ExecuteTemplate(L"BackColor = RGB(255,0,0)");

30
How do I call your x-script language

Edit1->Template = L"BackColor = RGB(255,0,0)";

29
Can I change the font for the tooltip

Edit1->ToolTipDelay = 1;
/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		OLE Automation

	TypeLib: stdole2.tlb

	to define the namespace: Stdole_tlb
*/
//#include "STDOLE_TLB.h"
Stdole_tlb::FontPtr var_StdFont = Edit1->ToolTipFont;
	var_StdFont->Name = L"Tahoma";
	var_StdFont->Size = TVariant(long(14));
Edit1->ToolTipWidth = 364;
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();

28
I've seen that the width of the tooltip is variable. Can I make it larger

Edit1->ToolTipWidth = 328;
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();

27
How do I let the tooltip being displayed longer

Edit1->ToolTipPopDelay = 10000;
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();

26
How do I disable showing the tooltip for all control
Edit1->ToolTipDelay = 0;
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();

25
How do I show the tooltip quicker

Edit1->ToolTipDelay = 1;
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();

24
Can I change the order of the buttons in the scroll bar

Edit1->ScrollOrderParts[Exeditlib_tlb::ScrollBarEnum::exHScroll] = L"t,l,r";
Edit1->ScrollOrderParts[Exeditlib_tlb::ScrollBarEnum::exVScroll] = L"t,l,r";

23
The thumb size seems to be very small. Can I make it bigger

Edit1->ScrollThumbSize[Exeditlib_tlb::ScrollBarEnum::exHScroll] = 164;

22
How do I enlarge or change the size of the control's scrollbars

Edit1->ScrollHeight = 18;
Edit1->ScrollWidth = 18;
Edit1->ScrollButtonWidth = 18;
Edit1->ScrollButtonHeight = 18;

21
How can I display my text on the scroll bar, using a different font

Edit1->ScrollPartCaption[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exThumbPart] = L"This is just a text";
Edit1->ScrollFont[Exeditlib_tlb::ScrollBarEnum::exHScroll]->Size = TVariant(long(12));
Edit1->ScrollThumbSize[Exeditlib_tlb::ScrollBarEnum::exHScroll] = 128;
Edit1->ScrollHeight = 24;
Edit1->ScrollPartCaption[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exThumbPart] = L"This is <s><font Tahoma;12> just </font></s> text";
Edit1->ScrollHeight = 20;

20
How can I display my text on the scroll bar

Edit1->ScrollPartCaption[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exThumbPart] = L"this is just a text";
Edit1->ScrollThumbSize[Exeditlib_tlb::ScrollBarEnum::exHScroll] = 96;

19
How do I assign a tooltip to a scrollbar

Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->ScrollToolTip[Exeditlib_tlb::ScrollBarEnum::exHScroll] = L"This is a <img>0x1000000</img>tooltip being shown when you click and drag the thumb in the horizontal scroll bar";

18
How do I assign an icon to the button in the scrollbar

Edit1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Edit1->ScrollPartVisible[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
Edit1->ScrollPartCaption[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exLeftB1Part] = L"<img>1</img>";
Edit1->ScrollHeight = 18;
Edit1->ScrollButtonWidth = 18;

17
I need to add a button in the scroll bar. Is this possible

Edit1->ScrollPartVisible[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
Edit1->ScrollPartCaption[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exLeftB1Part] = L"1";

16
Can I display an additional buttons in the scroll bar

Edit1->ScrollPartVisible[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
Edit1->ScrollPartVisible[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exLeftB2Part] = true;
Edit1->ScrollPartVisible[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exRightB6Part] = true;
Edit1->ScrollPartVisible[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exRightB5Part] = true;

15
How do I change the control's foreground color

Edit1->ForeColor = RGB(255,0,0);

14
How do I change the control's background color

Edit1->BackColor = RGB(200,200,200);

13
How can I change the control's font

Edit1->Font->Name = L"Verdana";

12
How do I put a picture on the center of the control

Edit1->Picture = (IPictureDisp*)(Edit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Edit1->PictureDisplay = Exeditlib_tlb::PictureDisplayEnum::exMiddleCenter;

11
How do I resize/stretch a picture on the control's background

Edit1->Picture = (IPictureDisp*)(Edit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Edit1->PictureDisplay = Exeditlib_tlb::PictureDisplayEnum::exStretch;

10
How do I put a picture on the control's center right bottom side

Edit1->Picture = (IPictureDisp*)(Edit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Edit1->PictureDisplay = Exeditlib_tlb::PictureDisplayEnum::exLowerRight;

9
How do I put a picture on the control's center left bottom side

Edit1->Picture = (IPictureDisp*)(Edit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Edit1->PictureDisplay = Exeditlib_tlb::PictureDisplayEnum::exLowerLeft;

8
How do I put a picture on the control's center top side

Edit1->Picture = (IPictureDisp*)(Edit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Edit1->PictureDisplay = Exeditlib_tlb::PictureDisplayEnum::exUpperCenter;

7
How do I put a picture on the control's right top corner

Edit1->Picture = (IPictureDisp*)(Edit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Edit1->PictureDisplay = Exeditlib_tlb::PictureDisplayEnum::exUpperRight;

6
How do I put a picture on the control's left top corner

Edit1->Picture = (IPictureDisp*)(Edit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Edit1->PictureDisplay = Exeditlib_tlb::PictureDisplayEnum::exUpperLeft;

5
How do I put a picture on the control's background

Edit1->Picture = (IPictureDisp*)(Edit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));

4
How do I change the control's border, using your EBN files

Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->Appearance = Exeditlib_tlb::AppearanceEnum(0x1000000);

3
How do I remove the control's border

Edit1->Appearance = Exeditlib_tlb::AppearanceEnum::exNone;

2
How can I add a line

Edit1->InsertText(L" - insert the line as the last - \\r\\n",TNoParam());

1
How can I insert a line

Edit1->InsertText(L" - insert the line as the first - \\r\\n",TVariant(1));